<?php /* Smarty version Smarty-3.1.8, created on 2012-06-15 03:00:46
         compiled from "tmpl/order/detail.html" */ ?>
<?php /*%%SmartyHeaderCode:1985475334fdabce9817205-80331737%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '63e4ad151646172cf019d99d2ade1b7b9c9040bc' => 
    array (
      0 => 'tmpl/order/detail.html',
      1 => 1339754407,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1985475334fdabce9817205-80331737',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_4fdabce98a7338_28292354',
  'variables' => 
  array (
    'id' => 0,
    'shop_id' => 0,
    'name' => 0,
    'title' => 0,
    'list1' => 0,
    'col' => 0,
    'list2' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_4fdabce98a7338_28292354')) {function content_4fdabce98a7338_28292354($_smarty_tpl) {?><html>
<head>
  <title>order</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="static/global.css" rel="stylesheet">
<script type="text/javascript" src="static/jquery.min.js"></script>
</head>

<body bgcolor="#FFFFFF" text="#000000">
<h2>orders Detail</h2>

id:<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
<br>
shop_id:<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['shop_id']->value, ENT_QUOTES, 'UTF-8', true);?>
<br>
name:<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['name']->value, ENT_QUOTES, 'UTF-8', true);?>
<br>
title:<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['title']->value, ENT_QUOTES, 'UTF-8', true);?>
<br>



<h2><a href=items_list.php>items</a></h2>
<table border=1>
<tr>
<th>id</th>
<th>order_id</th>
<th>name</th>
<th>title</th>
<th>Detail</th>
</tr>
  
<?php  $_smarty_tpl->tpl_vars['col'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['col']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['list1']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['col']->key => $_smarty_tpl->tpl_vars['col']->value){
$_smarty_tpl->tpl_vars['col']->_loop = true;
?>
<tr>
<td><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['col']->value['id'], ENT_QUOTES, 'UTF-8', true);?>
</td>
<td><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['col']->value['order_id'], ENT_QUOTES, 'UTF-8', true);?>
</td>
<td><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['col']->value['name'], ENT_QUOTES, 'UTF-8', true);?>
</td>
<td><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['col']->value['title'], ENT_QUOTES, 'UTF-8', true);?>
</td>
<td><a href=items_detail.php?id=<?php echo $_smarty_tpl->tpl_vars['col']->value['id'];?>
>Detail</a></td>
</tr>
<?php } ?>
</table>

<h2><a href=shop_list.php>shop</a></h2>
<table border=1>
<tr>
<th>id</th>
<th>name</th>
<th>title</th>
<th>Detail</th>
</tr>
  
<?php  $_smarty_tpl->tpl_vars['col'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['col']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['list2']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['col']->key => $_smarty_tpl->tpl_vars['col']->value){
$_smarty_tpl->tpl_vars['col']->_loop = true;
?>
<tr>
<td><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['col']->value['id'], ENT_QUOTES, 'UTF-8', true);?>
</td>
<td><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['col']->value['name'], ENT_QUOTES, 'UTF-8', true);?>
</td>
<td><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['col']->value['title'], ENT_QUOTES, 'UTF-8', true);?>
</td>
<td><a href=shop_detail.php?id=<?php echo $_smarty_tpl->tpl_vars['col']->value['id'];?>
>Detail</a></td>
</tr>
<?php } ?>
</table>



<hr>
<a href="order_edit.php?id=<?php echo $_smarty_tpl->tpl_vars['id']->value;?>
">Edit</a>
<a href="order_delete.php?id=<?php echo $_smarty_tpl->tpl_vars['id']->value;?>
">Delete</a>
<a href="order_list.php">List</a>

</body>
</html><?php }} ?>